<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>SportRanking</title>
        <script src="javascripts/prototype.js" type="text/javascript">
        </script>
        <script src="javascripts/scriptaculous.js" type="text/javascript">
        </script>
        <script src="javascripts/slider.js" type="text/javascript">
        </script>
        <%= stylesheet_link_tag 'scaffold.css' %>
    </head>
    <body>

        <div id="menu">
	        <%= link_to 'Accueil', root_path %><br/>
        	<% if current_user then %>
	            <%= link_to 'Pays', lands_path %><br/>
	            <%= link_to 'Utilisateurs', users_path %><br/>
	            <%= link_to 'Tournois', tournaments_path %><br/>
                <%= link_to "Logout", logout_path %><br/>
			<% else %>
                <%= link_to 'Login', new_user_session_path %><br/>
                <%= link_to 'S\'enregistrer', new_user_path %><br/>
                <%= link_to 'Tournois', tournaments_path %><br/>
		<% end %>
            <br/>
            
        </div>
       
        <div id="main">
            <%= yield %>
        </div>
    </body>
</html>
